package pro.syj.bean;

public class Student {
	private String sid;
	private String psd;
	private String sname;
	private int grade;
	private String major;
	
	@Override
	public String toString() {
		return "message [sid=" + sid + ", psd=" + psd + ", sname=" + sname + ", grade=" + grade + ", major=" + major
				+ "]";
	}

	public String getSid() {
		return sid;
	}

	public void setSid(String sid) {
		this.sid = sid;
	}

	public String getPsd() {
		return psd;
	}

	public void setPsd(String psd) {
		this.psd = psd;
	}

	public String getSname() {
		return sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public int getGrade() {
		return grade;
	}

	public void setGrade(int grade) {
		this.grade = grade;
	}

	public String getMajor() {
		return major;
	}

	public void setMajor(String major) {
		this.major = major;
	}

	public Student(String sid, String psd, String sname, int grade, String major) {
		super();
		this.sid = sid;
		this.psd = psd;
		this.sname = sname;
		this.grade = grade;
		this.major = major;
	}

	public Student() {
		// TODO Auto-generated constructor stub
	}	
}
